package com.csx.governance.sample.gw.feign;

import feign.RequestLine;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.concurrent.CompletableFuture;

//@FeignClient(name = "serviceA")
public interface ServiceProviderClient {

//    @GetMapping
    @RequestLine("GET /serviceA/testFeign")
    CompletableFuture<String> testAsyncFeign();
}